import { S } from '../../s';
import { IPSDEUIPFPluginLogic } from './ipsdeuipfplugin-logic';
import { PSDEUILogicNodeImpl } from './psdeuilogic-node-impl';
import { IPSSysPFPlugin } from '../../res/ipssys-pfplugin';

export class PSDEUIPFPluginLogicImpl
  extends PSDEUILogicNodeImpl
  implements IPSDEUIPFPluginLogic
{
  protected pssyspfplugin: IPSSysPFPlugin;
  getPSSysPFPlugin(): IPSSysPFPlugin | null {
    return (
      this.pssyspfplugin ||
      (this.pssyspfplugin = this.fillObjectModel(
        S._27c,
        this.M.getPSSysPFPlugin,
        S._2a7,
      ) as IPSSysPFPlugin)
    );
  }
  get cls(): string {
    return 'PSDEUIPFPluginLogicImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._1f3) return true;
    return super.instanceof(cls);
  }
}
